#ifndef PRECOMPUTATION_H
#define PRECOMPUTATION_H

#include <string>
#include <vector>

typedef std::vector<std::string> Lines;
typedef std::vector<std::string> Strings;


class Precomputation
{
public:
	// intersections will have to be deleted manually after calling this function
	static void calculateIntersections(const char* p_datafile, 
									   unsigned int*& p_intersections,
									   Strings& p_attributes);

	static void createMatlabCommands(const char* p_datafile, 
									 bool p_useHeuristic);

private:
	Precomputation();
	~Precomputation();
};


#endif
